/* Data required to create */
variable "proxy_name" {
  description = "Name proxy instance"
  type        = string
  default     = "daswebmail-dev-02"
}

/* YC provider variables block */

variable "path_to_sa" {
  description = "This is path to service account data json file"
  type        = string
  sensitive   = true
}

variable "cld_id" {
  description = "This is Yandex Cloud IDentity"
  type        = string
  sensitive   = true
}

variable "fldr_id" {
  description = "This is folder IDentity in Yandex Cloud"
  type        = string
  sensitive   = true
}

variable "zn" {
  description = "This is default availability zone"
  type        = string
  default     = "ru-central1-a"
}

/* YC compute instance variables block */

variable "path_to_pub_key" {
  description = "The path to the public part of the key"
  type        = string
  sensitive   = false
}

variable "list_my_keys" {
  description = "The public part of the key"
  type        = list(string)
  default     = ["ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCfdlVn5may2zjzuj1I3NUnjGzxdPoipwxOEP0pp+9oatU8dhqYCSj9q6T+GolbS2uiHOm6elW9XHF+UsLSprZAaHpEAFRwtZ86IXw+OZW+d+Wbb2VqUun6pPFAj6MQcJMpHmoLawQ1DTmlam4WlqP5wAs7myQskWV/0+pEU1yFcmYkgAsvBH+xEP9ylRreEmPvqUTs8TwNyXEPim7XRUTzE6D1KcnrEfZtttmAyHJG7wYPpbFWyVQIJSbnQ/vhPWjlYcvvIg+BynAbCC8eKmuRGETqxvrFjIr2pvD+TVfYVq5JXPTrP1ddTg1paNtV2pCGk1+Yu3ySYFW9yigW3RXCM2mtanRQi5s1iD3X3HLnxMcftYpbPitwbaOj1RTPCVdGB3INXjdDKP01CAOGF4GoQURQmKTa4kjL3MCmVhy9FfAoUSGsxwdQ39gRSJ3qFQ8QYQEHaOX8e2eCUXHbSKK8sSe7lg75vxkZnIgEs3PGSkTcDfV9JxUDSCA6P9fRaCc= das@DESKTOP-MAEHQKS"]
}

variable "my_user" {
  description = "The user"
  type        = string
  default     = "ubuntu"
}

variable "bdisk" {
  description = "OS type variable"
  type        = string
  sensitive   = false
  default     = "fd82re2tpfl4chaupeuf"
}

variable "cores_count" {
  description = "Number of instance cores"
  type        = number
  default     = 2
}

variable "core_fract" {
  description = "Baseline performance for a core as a percent"
  type        = number
  default     = 5
}

variable "ram_size" {
  description = "RAM size"
  type        = number
  default     = 2
}

/* YC vpc network variables block */
variable "subnet_name" {
  description = "This is a subnet name"
  type        = string
  default     = "default-ru-central1-a"
}


/* Common block */
variable "tag_my_mail" {
  description = "This is label from my mail for resources"
  type        = string
  sensitive   = false
}

variable "tag_learn_module" {
  description = "This is label from my learn module for resources"
  type        = string
  sensitive   = false
}

# AWS variable block

variable "my_aws_access_key" {
  description = "This is the AWS access key"
  type        = string
  sensitive   = true
}

variable "my_aws_secret_key" {
  description = "This is the AWS secret key"
  type        = string
}

variable "aws_region" {
  description = "AWS region"
  type        = string
  sensitive   = true
}

variable "my_hosted_zone_on_aws" {
  description = "This name of my domain"
  type        = string
  sensitive   = true
}

